<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
       var json={a:1,b:6};
       for (var i in json){
           alert(i+'='+json[i]);
       }
    </script>
</head>
<body>

</body>
</html>